﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： GovLogSafeEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-01-09
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CGT.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("LogId")]
	public class GovLogSafe
	{
		///<summary>
		///
		///</summary>
		public GovLogSafe()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("LogId","主键")]
        public long LogId { get; set; }

		///<summary>
		///用户ID
		///</summary>
        [Column("UserId","用户ID")]
        public int UserId { get; set; }

		///<summary>
		///事件
		///</summary>
        [Column("Incident","事件")]
        public string Incident { get; set; }

		///<summary>
		///来源
		///</summary>
        [Column("Source","来源")]
        public string Source { get; set; }

		///<summary>
		///事件类型（1:增、2:删、3:该、4:查）
		///</summary>
        [Column("IncidentType","事件类型（1:增、2:删、3:该、4:查）")]
        public int IncidentType { get; set; }

		///<summary>
		///结果
		///</summary>
        [Column("Result","结果")]
        public string Result { get; set; }

		///<summary>
		///描述
		///</summary>
        [Column("Description","描述")]
        public string Description { get; set; }

		///<summary>
		///模块()
		///</summary>
        [Column("ModuleId","模块()")]
        public int ModuleId { get; set; }

		///<summary>
		///是否核心功能(0:否1:是)
		///</summary>
        [Column("IsCoreFunction","是否核心功能(0:否1:是)")]
        public int IsCoreFunction { get; set; }

		///<summary>
		///是否常规业务(0:否1:是)
		///</summary>
        [Column("IsConventional","是否常规业务(0:否1:是)")]
        public int IsConventional { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///校验位
		///</summary>
        [Column("CheckCode","校验位")]
        public string CheckCode { get; set; }

	}
}